package com.techysky.xsd.pm;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

import lombok.Data;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement@Data
public class PmCode {

    @XmlAttribute(name = "modelIdentCode", required = true)
    protected String modelIdentCode;
    @XmlAttribute(name = "pmIssuer", required = true)
    protected String pmIssuer;
    @XmlAttribute(name = "pmNumber", required = true)
    protected String pmNumber;
    @XmlAttribute(name = "pmVolume", required = true)
    protected String pmVolume;

	@Override
	public String toString() {
		return modelIdentCode+"-"+pmIssuer+"-"+pmNumber+"-"+pmVolume;
	}
}
